package com.rock.code.common.annotations;

import java.lang.annotation.*;

/**
 * The interface Validate login.
 * ex: @ValidateLogin(verifyLogin = false)
 *
 * @author kongqiang
 * @date 2017.12.29
 */
@Documented
@Inherited
@Target(ElementType.METHOD)
@Retention(RetentionPolicy.RUNTIME)
public @interface ValidateLogin {
    /**
     * 是否验证登陆 true=验证 ,false = 不验证
     *
     * @return
     */
    public boolean verifyLogin() default true;


    /**
     * 是否验证URL true=验证 ,false = 不验证
     *
     * @return
     */
    public boolean verifyURL() default true;


}
